/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.lunbo.entity;


import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 轮播图Entity
 * @author freedom
 * @version 2020-08-24
 */
public class Lunbo extends DataEntity<Lunbo> {
	
	private static final long serialVersionUID = 1L;
	private String name;		// 名称
	private String lunbo;		// 轮播图位置
	private String img;		// 图片
	private String url;		// 链接
	private Integer xh;		// 序号
	
	public Lunbo() {
		super();
	}

	public Lunbo(String id){
		super(id);
	}

	@ExcelField(title="名称", align=2, sort=1)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@ExcelField(title="轮播图位置", dictType="lunbotype", align=2, sort=2)
	public String getLunbo() {
		return lunbo;
	}

	public void setLunbo(String lunbo) {
		this.lunbo = lunbo;
	}
	
	@ExcelField(title="图片", align=2, sort=3)
	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}
	
	@ExcelField(title="链接", align=2, sort=4)
	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}
	
	@ExcelField(title="序号", align=2, sort=5)
	public Integer getXh() {
		return xh;
	}

	public void setXh(Integer xh) {
		this.xh = xh;
	}
	
}